package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.OrderService;
import org.springframework.stereotype.Component;

@Component
public class OrderServiceExceptionHandler implements OrderService {
    @Override
    public String getOK(Integer id) {
        return "OrderServiceExceptionHandler==>getOK";
    }

    @Override
    public String getFail(Integer id) {
        return "OrderServiceExceptionHandler==>getFail";
    }
}
